package com.lagou.edu.service;

import com.lagou.edu.dao.LagouAuthCodeDao;
import com.lagou.edu.pojo.LagouAuthCode;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {

    @Autowired
    private LagouAuthCodeDao lagouAuthCodeDao;

    /**
     * 查询所有
     * @return
     */
    public List<LagouAuthCode> findAll() {
        List<LagouAuthCode> all = lagouAuthCodeDao.findAll();
        return all;
    }
}

